package com.wskj.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wskj.common.core.mybatisplus.core.BaseMapperPlus;
import com.wskj.system.domain.SysNotice;
import com.wskj.system.vo.app.AppSysNoticeVo;
import com.wskj.system.vo.app.AppUserNoticeVo;
import org.apache.ibatis.annotations.Param;

/**
 * 通知公告表 数据层
 *
 * @author ruoyi
 */
public interface SysNoticeMapper extends BaseMapperPlus<SysNotice> {

    IPage<AppSysNoticeVo> systemList(IPage<AppSysNoticeVo> iPage);

    IPage<AppUserNoticeVo> userList(IPage<AppUserNoticeVo> iPage, @Param("userId")Long userId);

    int waitReadCount(@Param("userId")Long userId);
}
